{% extends 'wxchat/wxbase.html' %}{% load static %}
{% block extra %}
    <style>
        .img_icon{
            width:20px;
            margin-right:10px;
            display:block;
        }
        .height30{
            line-height:35px;
        }
    </style>
{% endblock extra%}
{% block container %}
<div class="page">
    {% include "shopping/include/myheader.html" %}
    <div class="page_body">
{#        <div class="weui-cells__title">带图标、说明、跳转的列表项</div>#}
        <div class="weui-cells height30">
            {% if request.session.role == 2 or request.session.role == 1 %}
            <a  class="weui-cell weui-cell_access" href="{% url 'foster-list' %}">
                <div class="weui-cell__hd"><img src="{% static 'wxchat/images/foster_pet.png' %}" class="img_icon"></div>
                <div class="weui-cell__bd"><p>寄养宠物</p></div>
                <div class="weui-cell__ft"></div>
            </a>
             <a  class="weui-cell weui-cell_access" href="{% url 'foster-list-all' %}">
                <div class="weui-cell__hd"><img src="{% static 'wxchat/images/pet_list.png' %}" class="img_icon"></div>
                <div class="weui-cell__bd"><p>宠物列表</p></div>
                <div class="weui-cell__ft"></div>
            </a>
            {% endif %}
            <a class="weui-cell weui-cell_access" href="{% url 'foster-order' %}">
                <div class="weui-cell__hd"><img src="{% static 'wxchat/images/document_32.png' %}" class="img_icon"></div>
                <div class="weui-cell__bd">
                    <p>寄养订单</p>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
            {% if request.session.role == 0 %}
            <a  href="{% url 'member-recharge-amount' %}" class="weui-cell weui-cell_access">
                <div class="weui-cell__hd"> <img src="{% static 'wxchat/images/currency _new.png' %}" class="img_icon"></div>
                <div class="weui-cell__bd">
                    <p>会员充值</p>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
            <a  href="{% url 'my-recharge-consume-list' %}" class="weui-cell weui-cell_access">
                <div class="weui-cell__hd"> <img src="{% static 'wxchat/images/recharge_list.png' %}" class="img_icon"></div>
                <div class="weui-cell__bd">
                    <p>充值明细</p>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
           <a  href="{% url 'my-consume-list' %}" class="weui-cell weui-cell_access">
                <div class="weui-cell__hd"> <img src="{% static 'wxchat/images/consumer.png' %}" class="img_icon"></div>
                <div class="weui-cell__bd">
                    <p>消费明细</p>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
            <a href="{% url 'password-change' %}"  class="weui-cell weui-cell_access">
                <div class="weui-cell__hd"> <img src="{% static 'wxchat/images/password.png' %}" class="img_icon"></div>
                <div class="weui-cell__bd">
                    <p>交易密码</p>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
            {% endif %}
            <a href="{% url 'my-qrcode' %}"  class="weui-cell weui-cell_access">
                <div class="weui-cell__hd"> <img src="{% static 'wxchat/images/spread.png' %}" class="img_icon"></div>
                <div class="weui-cell__bd">
                    <p>我的推广码</p>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
            {% if request.session.role == 0 %}
            <a href="{% url 'contact-us' %}"  class="weui-cell weui-cell_access">
                <div class="weui-cell__hd"> <img src="{% static 'wxchat/images/contact_us.png' %}" class="img_icon"></div>
                <div class="weui-cell__bd">
                    <p>联系我们</p>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
           {% endif %}
        </div>
    </div>
</div>

<div class="weui-panel weui-panel_access margin_top2">
    <div class="weui-panel__bd" id="doglist">

    </div>
</div>
{% endblock %}